.banxin{
    max-width: 1160px;
    min-width: 786px;
    margin: 0 auto;
}
.mask_href{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.h-100{
    height: 100%;
}
.w-100{
    width: 100%;
}
.divider{
    flex: 1;
}
.next_rec{
    position: relative;
    height: 34px;
    width: 90px;
    background-color: rgba(50,170,255,.16);
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    color: #32aaff;
    .reload{
        margin-right: 4px;
        width: 12px;
        height: 12px;
        background-image:url(../images/reload.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .rec_text{
        font-size: 14px;
    }
}
// 顶部导航
.topnav{
    width: 100%;
    height: 50px;
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgb(158 179 193 / 50%);
    overflow: visible;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    .banxin{
        display: flex;
        height: 100%;
        align-items: center;
        .logo{
            display: block;
            margin-right: 40px;
            .logo_text{
                font-size: 15px;
                color: rgba(0,0,0,.87);
                img{
                    width: 32px;
                    height: 32px;
                    margin-right: 12px;
                    vertical-align: middle;
                }
                span{
                 vertical-align: middle;
                }
            }
        }
        .menu_nav{
            height: 100%;
            flex: 1;
            .nav_list{
            height: 100%;
            display: flex;
            li{
                padding: 0 12px;
                font-size: 14px;
                color: rgba(0,0,0,.8);
                position: relative;
                overflow: visible;
                width: 50x;
                height: 100%;
                cursor: pointer;
                display: flex;
                align-items: center;
                &:hover span{
                    color: #32aaff;
                }
            }
            
            .nav_list_first{
                img{
                    width: 16px;
                    height: 16px;
                    margin-right: 7px;
                }
                span{
                    font-size: 14px;
                    color: rgba(0,0,0,.8);
                    
                }
               
                
            }
            .underline{
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%,11px);
                height: 3px;
                width: 8px;
                border-radius: 1px;
                background: #32aaff;
            }
            }
        }
        .right_nav{
            display: flex;
            height: 100%;
            align-items: center;
            z-index: 1;
            div{
                display: flex;
                align-items: center;
            }
            .nav_search{
                width: 180px;
                height: 32px;
                padding: 3px 8px;
                background-color: #f4f4f4;
                border-radius: 15px;
                position: relative;
                display: flex;
                align-items: center;
                .search_input{
                    width: 122px;
                    height: 16px;
                    font-size: 12px;
                    margin: 0 8px;
                    padding: 1px 2px ;
                    background-color: transparent;
                }
                .search_btn{
                    padding: 5px;
                    width: 16px;
                    height: 16px;
                    background: url(../images/search.svg);
                }
            }
            .nav_download{
                padding: 0 15px 0 30px;
                font-size: 14px;
                color: rgba(0,0,0,.8);
                position: relative;
                overflow: visible;
                height: 100%;
                z-index: 1;
                cursor: pointer;
                .tooltip{
                    position: absolute;
                   background: url(../images/download-tip.png);
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: 50%;
                    width: 58px;
                    height: 19px;
                    z-index: 1;
                    top: 50%;
                    left: 50%;
                    transform: translate(25px,-23px);
                }
            }
            .nav_login{
                margin-right: -15px;
                display: flex;
                align-items: center;
                height: 100%;
                position: relative;
                .login{
                    height: 100%;
                    padding: 0 15px;
                    color: rgba(0,0,0,.87);
                }
                .line{
                    width: 0;
                    height: 15px;
                    border-left: 1.5px solid rgba(0,0,0,.2);
                }
            }
        }
    }
}
// 轮播图
.banner{
    padding-top: 50px;
    overflow: hidden;
    .banner_box{
        width: 100%;
        height: 380px;
        // background-color: #212121;
        overflow: hidden;
        position: relative;
        // transform: translateX(-175px);
        .banner_box_sm{
            height: 380px;
            position: relative;
            background-color: #212121;
            .banner_ul{
                position: absolute;
                top: 0;
                left: 0;
                display: flex;
                .banner_li{ 
                    opacity: .5;
                    cursor: pointer;
                    overflow: hidden;
                    img{
                        width: 762px;
                        height: 380px;
                    }
                }
                .swiper-slide-active{
                    transform: translateX(-170px);
                    overflow: visible;
                }
                .swiper-slide-next{
                    opacity: 1;
                    width: 762px;
                    height: 381px;
                    overflow: visible;
                    transform: translateX(-48px);
                   
                }
                .swiper-slide-duplicate-prev{
                    transform: translateX(74px);
                }
            }
            .swiper{
                --swiper-theme-color: #fff;/* 设置Swiper风格 */
                --swiper-navigation-color: #c0bdbd;/* 单独设置按钮颜色 */
                --swiper-navigation-size: 20px;/* 设置按钮大小 */
              }
            .banxin{
                   position: relative;
                .banner_nav_btn{
                    width: 32px;
                    height: 80px;
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    font-size: 20px;
                    background-color: rgba(0,0,0,.5) ;
                    i{  
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        display: block;
                        
                    }
                }
                .btn_left{
                    left: 0; 
                   i{
                    background: url(../upload/left.svg)no-repeat;
                    background-size: 40%;
                    background-position: 50%;
                   }
                }
                .btn_right{
                    right: 0;
                    i{
                        background: url(../upload/right.svg)no-repeat;
                        background-size: 40%;
                        background-position: 50%;
                       }
                }
            }
            .banner_mask{
                position: absolute;
                width: 12.5%;
                height: 100%;
                top: 0;
                z-index: 2;
                background-image: linear-gradient(90deg,rgba(0,0,0,.8),rgba(43,43,43,0));
                
            }
            .mask_left{
                left: 0;
               
            }
            .mask_right{
                right: 0;
                transform: scaleX(-1);
            }
            }
        }
        
        
}
// 分类导航
.nav_all{
    width: 100%;
    padding: 26px 0;
    font-size: 16px;
    color: #fff;
    background-color: #212121;
    .container{
        width: 100%;
        margin: auto;
        max-width: 1200px;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        display: flex;
        justify-content: space-evenly;
        font-size: 16px;
        text-align: center;
        a{
            color: #fff;
        }
    }
}
// 推荐模块
.recommend{
    padding-bottom: 32px;
    .title{
        padding: 60px 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: rgba(0,0,0,.87);
        .title_text{
            font-size: 32px;
            line-height: 45px;
        }
        
    }
    .comic_list{
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        margin: 0 -5px;
       
        .comic-item{
            position: relative;
            max-width: 180px;
            padding: 0 5px 24px;
            flex: 1;
            .cover{
                width: 100%;
                padding-top: 133.3%;
                background: url(../images/pic1.jpg) no-repeat;
                background-size: cover;
                background-position: 50%;
                border-radius: 2px;
            }
            .comic_title{
                margin: 10px 0 5px;
                display: flex;
                align-items: center;
                .text{
                    flex: 1;
                    width: 0;
                    font-size: 18px;
                    line-height: 25px;
                    color: rgba(0,0,0,.87);
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
            }
            .tags{
                font-size: 13px;
                text-align: start;
                line-height: 18px;
                color: #999;
                padding: 2px 0;
                display: inline-block;
            }
        }
    }

}
// 热门速递
.hot_rec{
    .header{
        padding: 43px 0 20px;
        display: flex;
        align-items: center;
        .title{
            font-size: 32px;
            line-height: 45px;
            color: rgba(0,0,0,.87);
            
        }
        .tab{
            font-size: 14px;
            line-height: 20px;
            margin: 10px 0 0 30px;
            color: rgba(0,0,0,.56);
        }
        .active{
            color: #32aaff!important;
            position: relative;
            &::after{
                content: "";
                position: absolute;
                width: 8px;
                height: 3px;
                border-radius: 1px;
                background-color: #32aaff;
                bottom: -3px;
                left: 50%;
                transform: translate(-50%);
            }
        }
      }
      .row{
        display: flex;
        justify-content: space-between;
        margin: 0 -5px;
        .row_item{
            position: relative;
            max-width: 278px;
            padding: 0 5px 24px;
            flex: 1;
            .cover{
                width: 100%;
                border-radius: 2px;
                img{
                    width: 100%;
                }
            }
            .title{
                margin: 10px 0 5px;
                display: flex;
                align-items: center;
                .text{
                    flex: 1;
                    width: 0;
                    line-height: 1;
                    font-size: 18px;
                    line-height: 25px;
                    color: rgba(0,0,0,.87);
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }
            }
            .sub_title{
                width: 100%;
                display: flex;
                .tags{
                    font-size: 13px;
                    line-height: 18px;
                    color: #999;
                    padding: 2px 0;
                    width: 0;
                    flex: 1;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                }
            }
        }
    }
}